package com.lsh.oms.api.model.afterSales;

import com.lsh.oms.api.common.constants.ValidationConstants;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Project Name: lsh-oms
 * Author: panxudong
 * 北京链商电子商务有限公司
 * Desc: Recreate afterSales Request Dto
 * Package Name: com.lsh.oms.api.model.afterSales
 * Time: 2017-05-15 下午5:53
 * @author peter
 */
public class RecreateAfterSalesRequestDto implements Serializable {

    @NotNull(message = ValidationConstants.NOT_NULL)
    private Long orderCode;

    @NotBlank(message = ValidationConstants.NOT_BLANK)
    private String afterSalesCode;

    @NotNull(message = ValidationConstants.NOT_NULL)
    private Integer afterSalesType;

    public Long getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    public String getAfterSalesCode() {
        return afterSalesCode;
    }

    public void setAfterSalesCode(String afterSalesCode) {
        this.afterSalesCode = afterSalesCode;
    }

    public Integer getAfterSalesType() {
        return afterSalesType;
    }

    public void setAfterSalesType(Integer afterSalesType) {
        this.afterSalesType = afterSalesType;
    }
}
